<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>业务表单</title>
    <%@include file="/common/header.jspf"%>
    <script type="text/javascript">
        var loginUserName = '${loginUser.name}';
        var loginUserId = '${loginUser.id}'
        var datagrid1; //定义全局变量datagrid
        var datagrid2;
        var datagrid3;
        var accidentReportId = '${accidentReport.id}';

    </script>
    <SCRIPT src="${ctx}/resources/js/accidentEvent/accidentEvaluation/evaluation.js" type="text/javascript"></SCRIPT>
</head>
<body>
<div class="menu-right" style="">
    <a class="button icon-save" id="btn_save">
        保存
    </a>
    <a class="button icon-refer" id="">
        提交
    </a>
    <%--<a class="button icon-export">
        导入
    </a>--%>
</div>
<form id="infoForm" method="post">
    <input type="hidden" name="id" value="${accidentReport.id}">
<div class="information">
    <div class="information-title">
        <p>事故基本信息</p>
        <a class="panel-down" href="javascript:void(0)">
            <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
        </a>
    </div>
    <div class="cuttle" style="">
        <div style="clear: both">
            <div class="form_one" style="">
                <label class="lable-style">事故名称:</label>
                <input type="text" class="easyui-textbox" style="width: 240px;" required="true" value="${accident.name}" readonly>
                <span>*</span>
            </div>
            <div class="form_one">
                <label class="lable-style">事故发生单位:</label>
                <input id="happenDeptId" class="easyui-textbox" style="width: 240px;" required="true"
                       editable="false" validType="validSelect" value="${accident.happenDeptId}" readonly>
                <span>*</span>
            </div>
            <div class="form_one">
                <label class="lable-style">事故发生时间:</label>
                <input class="easyui-datebox" style="width: 240px;" editable="false" required="true"
                       value="${accident.happenTime}" readonly>
                <span>*</span>
            </div>
        </div>
        <div style="clear: both;height: 105px">
            <div class="form_one fotm-textarea" style="margin-bottom: 5px;">
                <label class="lable-style">事故原因:</label>
                <input class="easyui-textbox" data-options="multiline:true" style="height: 100px;width: 598px;" value="${accidentReport.directReason}" readonly/>
            </div>
        </div>
        <div style="clear: both;height: 105px">
            <div class="form_one fotm-textarea" style="margin-bottom: 5px;">
                <label class="lable-style">教育情况:</label>
                <input class="easyui-textbox" data-options="multiline:true" style="height: 100px;width: 598px;"
                      value="${accidentReport.educationSituation}" name="educationSituation" required/>
                <span>*</span>
            </div>
        </div>
        <div style="clear: both;height: 105px">
            <div class="form_one fotm-textarea" style="margin-bottom: 5px;">
                <label class="lable-style">对事故责任者处理情况:</label>
                <input class="easyui-textbox" data-options="multiline:true" style="height: 100px;width: 598px;" id="handlingSuggestionText"
                      <%-- value="对事故责任者处理情况"--%> readonly/>

            </div>
        </div>
    </div>
</div>

    <div class="information">
        <div class="information-title">
            <p>措施列表</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="enclosure"style="height:300px; " >
            <table id="precautionList">
            </table>
            <div id="precautionTb">
                <%--<a id="btn_precaution_add" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" style="margin:5px;" onclick="appendTableRow('precautionList')">添加</a>
                <a id="btn_precaution_delete" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" style="margin:5px;" onclick="deleteTableRow('precautionList')">删除</a>--%>
                <%--<a id="btn_precaution_edit" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-edit fa-lg" style="margin:5px;" onclick="editTableRow()">编辑</a>
                <a id="btn_precaution_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg" style="margin:5px;" onclick="saveTableRow('manageSuggestionList')">保存</a>
                <a id="btn_precaution_reject" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-reply fa-lg" style="margin:5px;" onclick="rejectTableRow('manageSuggestionList')">撤销</a>--%>
            </div>
        </div>
    </div>
</form>
</body>
</html>
